-
-
Notifications
You must be signed in to change notification settings - Fork 39.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update piemod keymap #2786
Update piemod keymap #2786
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't need the "massive" rules file. Should be trimmed down.
Otherwise, it looks good.
@@ -0,0 +1,77 @@ | |||
SRC += matrix.c \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't need all of this.
In fact, all you need is this block:
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
CONSOLE_ENABLE = no # Console for debug(+400)
COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
MIDI_ENABLE = no # MIDI controls
AUDIO_ENABLE = no # Audio output on port C6
UNICODE_ENABLE = yes # Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. Do not enable this with audio at the same time.
SUBPROJECT_rev1 = no
@@ -109,7 +109,7 @@ int CAPSLOCKED = 0; | |||
[3] = ACTION_LAYER_TAP_KEY(3, KC_E), // FN3 = Momentary numbEr layer on E. | |||
[4] = ACTION_LAYER_TAP_KEY(4, KC_U), // FN4 = Momentary fUnction layer on U. | |||
[5] = ACTION_LAYER_TAP_KEY(5, KC_Q), // FN5 = Momentary emaQs layer on Q. | |||
[6] = ACTION_LAYER_TAP_KEY(6, KC_LCTRL), // FN6 = Momentary MACROS on ??? key. | |||
[6] = ACTION_LAYER_TAP_KEY(6, KC_LCTRL), // FN6 = Momentary COMBOS on ??? key. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want, you could use LT(x, kc)
in the keymap instead.
This accomplishes the same thing, but may look a bit cleaner.
Add RGB control, fix keymap to work with latest QMK. Squashed commit of the following: commit 3c5d95e4809d446fe5304aab9274d527182835e6 Author: dwrz <dwrz@dwrz.net> Date: Sat Apr 21 18:26:58 2018 +0000 Make rules.mk for Let's Split piemod commit 0cc5fc135220f0eb48509d2b027e4cad033d74a5 Author: dwrz <dwrz@dwrz.net> Date: Sat Apr 21 18:26:25 2018 +0000 Add RGB control keys to function layer commit d1b6bfa5f34123658534f99c97471b779b971ffb Author: dwrz <dwrz@dwrz.net> Date: Sat Apr 21 18:26:03 2018 +0000 Refactor MACROS to COMBOS MACROS was conflicting with existing code. commit ce2f47b13fb3bfab9d63292ddba466879d300051 Author: dwrz <dwrz@dwrz.net> Date: Sat Apr 21 18:25:26 2018 +0000 Add typing options to config.h commit cb0aa62b81a17aaaee1f9843138495b9ca14b6d4 Author: dwrz <dwrz@dwrz.net> Date: Sat Apr 21 18:25:10 2018 +0000 Add RGB options to config.h
Thank you -- appreciate the insights. Really impressed by all the new work in QMK. |
// Special Keys | ||
[10] = ACTION_MODS_KEY(KC_LCTRL, KC_LALT), // FN10 = Ctrl + Alt. | ||
|
||
[1] = ACTION_MODS_KEY(KC_LCTRL, KC_LALT), // FN10 = Ctrl + Alt. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If these are doing what I think they're doing, then MT(mod, kc)
handles this as well: https://docs.qmk.fm/features/advanced-keycodes#mod-tap
And it would be MT(MOD_LCTL, KC_LALT)
and MT(MOD_LSFT, KC_SLSH)
respectively.
No need to change this, unless you want.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MT is another really cool addition I wasn't familiar with, but I don't think it's a drop in for this case. The functions are supposed to call both keys at the same time (e.g., to get a question mark for the latter).
If it's OK with you, I will follow-up with another pull request with some more functionality related changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An, in that case, you'd just want these: https://docs.qmk.fm/keycodes#us-ansi-shifted-keys
Thanks! |
Add RGB control, fix keymap to work with latest QMK. Squashed commit of the following: commit 3c5d95e4809d446fe5304aab9274d527182835e6 Author: dwrz <dwrz@dwrz.net> Date: Sat Apr 21 18:26:58 2018 +0000 Make rules.mk for Let's Split piemod commit 0cc5fc135220f0eb48509d2b027e4cad033d74a5 Author: dwrz <dwrz@dwrz.net> Date: Sat Apr 21 18:26:25 2018 +0000 Add RGB control keys to function layer commit d1b6bfa5f34123658534f99c97471b779b971ffb Author: dwrz <dwrz@dwrz.net> Date: Sat Apr 21 18:26:03 2018 +0000 Refactor MACROS to COMBOS MACROS was conflicting with existing code. commit ce2f47b13fb3bfab9d63292ddba466879d300051 Author: dwrz <dwrz@dwrz.net> Date: Sat Apr 21 18:25:26 2018 +0000 Add typing options to config.h commit cb0aa62b81a17aaaee1f9843138495b9ca14b6d4 Author: dwrz <dwrz@dwrz.net> Date: Sat Apr 21 18:25:10 2018 +0000 Add RGB options to config.h
Add RGB control, fix keymap to work with latest QMK. Squashed commit of the following: commit 3c5d95e4809d446fe5304aab9274d527182835e6 Author: dwrz <dwrz@dwrz.net> Date: Sat Apr 21 18:26:58 2018 +0000 Make rules.mk for Let's Split piemod commit 0cc5fc135220f0eb48509d2b027e4cad033d74a5 Author: dwrz <dwrz@dwrz.net> Date: Sat Apr 21 18:26:25 2018 +0000 Add RGB control keys to function layer commit d1b6bfa5f34123658534f99c97471b779b971ffb Author: dwrz <dwrz@dwrz.net> Date: Sat Apr 21 18:26:03 2018 +0000 Refactor MACROS to COMBOS MACROS was conflicting with existing code. commit ce2f47b13fb3bfab9d63292ddba466879d300051 Author: dwrz <dwrz@dwrz.net> Date: Sat Apr 21 18:25:26 2018 +0000 Add typing options to config.h commit cb0aa62b81a17aaaee1f9843138495b9ca14b6d4 Author: dwrz <dwrz@dwrz.net> Date: Sat Apr 21 18:25:10 2018 +0000 Add RGB options to config.h
Add RGB control, fix keymap to work with latest QMK.
Squashed commit of the following:
commit 3c5d95e4809d446fe5304aab9274d527182835e6
Author: dwrz dwrz@dwrz.net
Date: Sat Apr 21 18:26:58 2018 +0000
commit 0cc5fc135220f0eb48509d2b027e4cad033d74a5
Author: dwrz dwrz@dwrz.net
Date: Sat Apr 21 18:26:25 2018 +0000
commit d1b6bfa5f34123658534f99c97471b779b971ffb
Author: dwrz dwrz@dwrz.net
Date: Sat Apr 21 18:26:03 2018 +0000
commit ce2f47b13fb3bfab9d63292ddba466879d300051
Author: dwrz dwrz@dwrz.net
Date: Sat Apr 21 18:25:26 2018 +0000
commit cb0aa62b81a17aaaee1f9843138495b9ca14b6d4
Author: dwrz dwrz@dwrz.net
Date: Sat Apr 21 18:25:10 2018 +0000